package com.itheima.day06.myLocalDateTime.test5;

import java.time.LocalDate;

public class Test {
    public static void main(String[] args) {
        LocalDate localDate = LocalDate.of(2008,12,31);
        System.out.println(localDate);

        localDate = localDate.plusYears(-8);
        System.out.println(localDate);
    }
}
